package ch7;

public class Zxf3 {
    public static void main(String[] args) {
        int a=0;
        double e=0;
        double i=10;
        for (;i>=0.01; ){
            i=0.8*i;
            e=e+1.8*i;
            a++;
        }if (i<0.01){
            System.out.println("第"+a+"次弹跳高度低于0.01米");
            System.out.println("总共轨迹："+e);
        }
    }
}
